home *** CD-ROM | disk | FTP | other *** search
- // HelloWorld v1.00 (2/2/98)
- //
- // Inserts "Hello World" into an Ovation Pro Document
- //
- // Tony Howat, (c) Risc User 1998
-
-
- // deal with 'Hello World' menu entry
-
- int helloworld_entry(int entry, int subcode)
- {
- string s;
-
- s="{HIWORLD_00}";
- translate(s);
-
- type(s);
- return(0);
- }
-
- // add our option to the applet menu
-
- void main(void)
- {
- script_menu_initialise();
- addentry_menu(script_handle,"helloworld_entry","","","","{HIWORLD_00}");
- }
-